# urls.py
from django.urls import path
from .views import PointsUpdateView, UserRankingView, TopUsersView

urlpatterns = [
    path('update_points/', PointsUpdateView.as_view(), name='update_points'),
    path('user_ranking/<int:user_id>/', UserRankingView.as_view(), name='user_ranking'),
    path('top_users/', TopUsersView.as_view(), name='top_users'),
]